.class public Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;
.super Lcom/waiqin365/lightapp/base/WqBaseActivity;

# interfaces
.implements Landroid/view/View$OnClickListener;


# static fields
.field public static a:Landroid/widget/FrameLayout;

.field public static b:Landroid/widget/RelativeLayout;

.field public static c:Z


# instance fields
.field private d:Landroid/widget/TextView;

.field private e:Landroid/widget/TextView;

.field private f:Landroid/widget/TextView;

.field private g:Landroid/widget/TextView;

.field private h:Landroid/widget/ImageView;

.field private i:Landroid/widget/ImageView;

.field private j:Landroid/widget/ImageView;

.field private k:Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewViewPager;

.field private l:Ljava/util/ArrayList;

.field private m:Lcom/waiqin365/lightapp/im/gallery/a/i;

.field private n:I


# direct methods
.method static constructor <clinit>()V
    .locals 1

    const/4 v0, 0x1

    sput-boolean v0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->c:Z

    return-void
.end method

.method public constructor <init>()V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;-><init>()V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;Ljava/lang/String;)D
    .locals 2

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->a(Ljava/lang/String;)D

    move-result-wide v0

    return-wide v0
.end method

.method private a(Ljava/lang/String;)D
    .locals 6

    const-wide/high16 v4, 0x4059000000000000L    # 100.0

    new-instance v2, Ljava/io/File;

    invoke-direct {v2, p1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    const-wide/16 v0, 0x0

    invoke-virtual {v2}, Ljava/io/File;->isFile()Z

    move-result v3

    if-eqz v3, :cond_0

    :try_start_0
    new-instance v3, Ljava/io/FileInputStream;

    invoke-direct {v3, v2}, Ljava/io/FileInputStream;-><init>(Ljava/io/File;)V

    invoke-virtual {v3}, Ljava/io/InputStream;->available()I
    :try_end_0
    .catch Ljava/io/FileNotFoundException; {:try_start_0 .. :try_end_0} :catch_0
    .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_1

    move-result v0

    int-to-double v0, v0

    :cond_0
    :goto_0
    const-wide/high16 v2, 0x4130000000000000L    # 1048576.0

    div-double/2addr v0, v2

    mul-double/2addr v0, v4

    double-to-int v0, v0

    int-to-double v0, v0

    div-double/2addr v0, v4

    return-wide v0

    :catch_0
    move-exception v2

    invoke-virtual {v2}, Ljava/io/FileNotFoundException;->printStackTrace()V

    goto :goto_0

    :catch_1
    move-exception v2

    invoke-virtual {v2}, Ljava/io/IOException;->printStackTrace()V

    goto :goto_0
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;I)I
    .locals 0

    iput p1, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->n:I

    return p1
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;)Ljava/util/ArrayList;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->l:Ljava/util/ArrayList;

    return-object v0
.end method

.method private a()V
    .locals 3

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->getIntent()Landroid/content/Intent;

    move-result-object v1

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->l:Ljava/util/ArrayList;

    iget-object v2, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->l:Ljava/util/ArrayList;

    const-string/jumbo v0, "photoItems"

    invoke-virtual {v1, v0}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Ljava/util/ArrayList;

    invoke-virtual {v2, v0}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    const-string/jumbo v0, "position"

    const/4 v2, 0x0

    invoke-virtual {v1, v0, v2}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I

    move-result v0

    iput v0, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->n:I

    return-void
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->d:Landroid/widget/TextView;

    return-object v0
.end method

.method private b()V
    .locals 6

    const v4, 0x7f08060e

    const v0, 0x7f0c070e

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/FrameLayout;

    sput-object v0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->a:Landroid/widget/FrameLayout;

    const v0, 0x7f0c07e6

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    sput-object v0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->b:Landroid/widget/RelativeLayout;

    const v0, 0x7f0c070f

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->h:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->h:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0711

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->d:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->d:Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    const v3, 0x7f0802fa

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget v2, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->n:I

    add-int/lit8 v2, v2, 0x1

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, "/"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->l:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const v0, 0x7f0c0712

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->e:Landroid/widget/TextView;

    sget v0, Lcom/waiqin365/lightapp/im/gallery/GalleryActivity;->a:I

    if-lez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->e:Landroid/widget/TextView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->e:Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    const v3, 0x7f0802fb

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, "("

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    sget v2, Lcom/waiqin365/lightapp/im/gallery/GalleryActivity;->a:I

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, "/"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const/16 v2, 0x9

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, ")"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->e:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c07e5

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewViewPager;

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->k:Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewViewPager;

    const v0, 0x7f0c07e8

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->f:Landroid/widget/TextView;

    const v0, 0x7f0c07ea

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->g:Landroid/widget/TextView;

    const v0, 0x7f0c07e7

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->i:Landroid/widget/ImageView;

    const v0, 0x7f0c07e9

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->j:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->l:Ljava/util/ArrayList;

    iget v1, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->n:I

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/im/gallery/a/k;

    iget-boolean v0, v0, Lcom/waiqin365/lightapp/im/gallery/a/k;->b:Z

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->j:Landroid/widget/ImageView;

    const v1, 0x7f020079

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    :goto_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->l:Ljava/util/ArrayList;

    iget v1, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->n:I

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/im/gallery/a/k;

    iget-boolean v0, v0, Lcom/waiqin365/lightapp/im/gallery/a/k;->e:Z

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->i:Landroid/widget/ImageView;

    const v1, 0x7f020061

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->f:Landroid/widget/TextView;

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p0, v4}, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v2, ":"

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v2, "("

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->l:Ljava/util/ArrayList;

    iget v3, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->n:I

    invoke-virtual {v0, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/im/gallery/a/k;

    iget-object v0, v0, Lcom/waiqin365/lightapp/im/gallery/a/k;->c:Ljava/lang/String;

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->a(Ljava/lang/String;)D

    move-result-wide v4

    invoke-virtual {v2, v4, v5}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v2, "MB)"

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->j:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->i:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    new-instance v0, Lcom/waiqin365/lightapp/im/gallery/a/i;

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->l:Ljava/util/ArrayList;

    invoke-direct {v0, p0, v1}, Lcom/waiqin365/lightapp/im/gallery/a/i;-><init>(Landroid/content/Context;Ljava/util/ArrayList;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->m:Lcom/waiqin365/lightapp/im/gallery/a/i;

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->k:Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewViewPager;

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->m:Lcom/waiqin365/lightapp/im/gallery/a/i;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewViewPager;->setAdapter(Landroid/support/v4/view/PagerAdapter;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->k:Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewViewPager;

    iget v1, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->n:I

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewViewPager;->setCurrentItem(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->k:Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewViewPager;

    new-instance v1, Lcom/waiqin365/lightapp/im/gallery/d;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/im/gallery/d;-><init>(Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewViewPager;->setOnPageChangeListener(Landroid/support/v4/view/ViewPager$OnPageChangeListener;)V

    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->e:Landroid/widget/TextView;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    goto/16 :goto_0

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->j:Landroid/widget/ImageView;

    const v1, 0x7f020078

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    goto/16 :goto_1

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->i:Landroid/widget/ImageView;

    const v1, 0x7f02005e

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->f:Landroid/widget/TextView;

    invoke-virtual {p0, v4}, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_2
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;)I
    .locals 1

    iget v0, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->n:I

    return v0
.end method

.method static synthetic d(Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;)Landroid/widget/ImageView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->j:Landroid/widget/ImageView;

    return-object v0
.end method

.method static synthetic e(Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;)Landroid/widget/ImageView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->i:Landroid/widget/ImageView;

    return-object v0
.end method

.method static synthetic f(Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->f:Landroid/widget/TextView;

    return-object v0
.end method


# virtual methods
.method public back()V
    .locals 3

    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    const-string/jumbo v1, "photoItems"

    iget-object v2, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->l:Ljava/util/ArrayList;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const/4 v1, -0x1

    invoke-virtual {p0, v1, v0}, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->setResult(ILandroid/content/Intent;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->finish()V

    const v0, 0x7f040020

    const v1, 0x7f040023

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->overridePendingTransition(II)V

    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 7

    const v2, 0x7f08060e

    const v5, 0x7f0802fb

    const/4 v6, 0x1

    const/16 v4, 0x9

    const/4 v3, 0x0

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    sparse-switch v0, :sswitch_data_0

    :goto_0
    return-void

    :sswitch_0
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->back()V

    goto :goto_0

    :sswitch_1
    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    const-string/jumbo v1, "photoItems"

    iget-object v2, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->l:Ljava/util/ArrayList;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const/16 v1, 0x3e9

    invoke-virtual {p0, v1, v0}, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->setResult(ILandroid/content/Intent;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->finish()V

    const v0, 0x7f040020

    const v1, 0x7f040023

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->overridePendingTransition(II)V

    goto :goto_0

    :sswitch_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->l:Ljava/util/ArrayList;

    iget v1, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->n:I

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/im/gallery/a/k;

    iget-boolean v0, v0, Lcom/waiqin365/lightapp/im/gallery/a/k;->b:Z

    if-eqz v0, :cond_1

    sget v0, Lcom/waiqin365/lightapp/im/gallery/GalleryActivity;->a:I

    add-int/lit8 v0, v0, -0x1

    sput v0, Lcom/waiqin365/lightapp/im/gallery/GalleryActivity;->a:I

    sget v0, Lcom/waiqin365/lightapp/im/gallery/GalleryActivity;->a:I

    if-lez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->e:Landroid/widget/TextView;

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->e:Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    invoke-virtual {v2, v5}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, "("

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    sget v2, Lcom/waiqin365/lightapp/im/gallery/GalleryActivity;->a:I

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, "/"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, v4}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, ")"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->l:Ljava/util/ArrayList;

    iget v1, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->n:I

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/im/gallery/a/k;

    iput-boolean v3, v0, Lcom/waiqin365/lightapp/im/gallery/a/k;->b:Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->j:Landroid/widget/ImageView;

    const v1, 0x7f020078

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    goto/16 :goto_0

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->e:Landroid/widget/TextView;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    goto :goto_1

    :cond_1
    sget v0, Lcom/waiqin365/lightapp/im/gallery/GalleryActivity;->a:I

    if-ge v0, v4, :cond_2

    sget v0, Lcom/waiqin365/lightapp/im/gallery/GalleryActivity;->a:I

    add-int/lit8 v0, v0, 0x1

    sput v0, Lcom/waiqin365/lightapp/im/gallery/GalleryActivity;->a:I

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->e:Landroid/widget/TextView;

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->e:Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    invoke-virtual {v2, v5}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, "("

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    sget v2, Lcom/waiqin365/lightapp/im/gallery/GalleryActivity;->a:I

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, "/"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, v4}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, ")"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->l:Ljava/util/ArrayList;

    iget v1, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->n:I

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/im/gallery/a/k;

    iput-boolean v6, v0, Lcom/waiqin365/lightapp/im/gallery/a/k;->b:Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->j:Landroid/widget/ImageView;

    const v1, 0x7f020079

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    goto/16 :goto_0

    :cond_2
    const v0, 0x7f080543

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    new-array v1, v6, [Ljava/lang/Object;

    invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v2

    aput-object v2, v1, v3

    invoke-static {v0, v1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    invoke-static {p0, v0, v3}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto/16 :goto_0

    :sswitch_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->l:Ljava/util/ArrayList;

    iget v1, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->n:I

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/im/gallery/a/k;

    iget-boolean v0, v0, Lcom/waiqin365/lightapp/im/gallery/a/k;->e:Z

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->i:Landroid/widget/ImageView;

    const v1, 0x7f02005e

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->f:Landroid/widget/TextView;

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->l:Ljava/util/ArrayList;

    iget v1, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->n:I

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/im/gallery/a/k;

    iput-boolean v3, v0, Lcom/waiqin365/lightapp/im/gallery/a/k;->e:Z

    goto/16 :goto_0

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->i:Landroid/widget/ImageView;

    const v1, 0x7f020061

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->f:Landroid/widget/TextView;

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v2, ":"

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v2, "("

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->l:Ljava/util/ArrayList;

    iget v3, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->n:I

    invoke-virtual {v0, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/im/gallery/a/k;

    iget-object v0, v0, Lcom/waiqin365/lightapp/im/gallery/a/k;->c:Ljava/lang/String;

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->a(Ljava/lang/String;)D

    move-result-wide v4

    invoke-virtual {v2, v4, v5}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v2, "MB)"

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->l:Ljava/util/ArrayList;

    iget v1, p0, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->n:I

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/im/gallery/a/k;

    iput-boolean v6, v0, Lcom/waiqin365/lightapp/im/gallery/a/k;->e:Z

    goto/16 :goto_0

    nop

    :sswitch_data_0
    .sparse-switch
        0x7f0c070f -> :sswitch_0
        0x7f0c0712 -> :sswitch_1
        0x7f0c07e7 -> :sswitch_3
        0x7f0c07e9 -> :sswitch_2
    .end sparse-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 1

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onCreate(Landroid/os/Bundle;)V

    invoke-static {p0}, Lcom/fiberhome/gaea/client/d/a;->a(Landroid/app/Activity;)V

    invoke-static {p0}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/app/Activity;)V

    const v0, 0x7f030165

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->setContentView(I)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->a()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->b()V

    return-void
.end method
